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

Posted fsong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[190308]Ubuntu 安装完之后,安装的软件小记相关的知识,希望对你有一定的参考价值。

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 安装完之后,安装的软件小记的主要内容,如果未能解决你的问题,请参考以下文章

《ubuntu源码安装sox系列》安装完sox之后找不到libsox.so.3

安装完ubuntu16.4.0之后要做的一些优化

Ubuntu安装之后ssh无法连接

ubuntu18.04系统安装完之后显示未发现WiFi适配器(屡试不爽)

Ubuntu16.10安装包跳过依赖

ubuntu为啥克隆不到mininet