码迷,mamicode.com
首页 > 系统相关 > 详细

[190308]Ubuntu 安装完之后,安装的软件小记

时间:2019-07-28 17:24:32      阅读:124      评论:0      收藏:0      [点我收藏+]

标签:logs   安装   packagist   rmi   错误   image   维护   apache   apach   

install software

vim

sudo apt-get install -y vim

Typora

command copy from Typora website

# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora

Xampp

download for linux run file at web browser, then go to download path at Terminal

chmod +x ./xampp*.run
sudo ./xampp*.run
sudo chmod 777 /opt/lampp/htdocs
vim ~/.profile

add following content at ~/.profileat end line

export XAMPP_HOME=/opt/lampp
export PATH=${XAMPP_HOME}/bin:$PATH

然后执行下面命令,使配置生效

source ~/.profile

install composer

at composer download page,last version is 1.8.4

Packagist 镜像使用方法

wget https://getcomposer.org/download/1.8.4/composer.phar
chmod +x composer.phar
sudo mv composer.phar /usr/local/bin/composer
# config composer repo.packagist
composer config -g repo.packagist composer https://packagist.phpcomposer.com

install ibus sunyinpin

sudo apt-get update
sudo apt-get install ibus-pinyin ibus-sunpinyin

install nodejs Ubuntu安装最新版nodejs

sudo apt-get install -y nodejs npm
sudo npm config set registry https://registry.npm.taobao.org
sudo npm install n -g
sudo n stable

redis

sudo apt-get install redis-server
  1. ubuntu 开机之后,会进入 initramfs界面
/dev/sda1 contains a file system with errors, check forced 

技术图片

输入命令:

fsck /dev/sda1 -y

fsck(file system check)用来检查和维护不一致的文件系统。若系统掉电或磁盘发生问题,可利用fsck命令对文件系统进行检查。

/dev/sda1 以启动时,提示错误的卷称为主


  1. Mcrypt响应慢的一个原因
'mcrypt_create_iv(): Cannot open source device'
  1. git push错误failed to push some refs to的解决
References
  1. /dev/sda1 contains a file system with errors, check forced [duplicate]
  2. /dev/sda1: Inodes that were part of a corrupted orphan linked list found

[190308]Ubuntu 安装完之后,安装的软件小记

标签:logs   安装   packagist   rmi   错误   image   维护   apache   apach   

原文地址:https://www.cnblogs.com/fsong/p/11259522.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!